package moreHealthException;


//thrown when integer text field has text in it. 
public class IntTextFieldException extends Exception
	{
		/**
	 * 
	 */
	private static final long serialVersionUID = -5683021599663378670L;
		private String returnDefaultValuex_ = "0";
		private String returnErrorMessagex_ = "";
		public IntTextFieldException(){
			
		}
		
		public IntTextFieldException(String defaultValue, String defaultErrorMessage){
			this.returnDefaultValuex_ = defaultValue;
			this.returnErrorMessagex_ = defaultErrorMessage;
		}
		
		public String getReturnDefaultValue(){
			return returnDefaultValuex_;
		}
		
		public String getReturnErrorMessage(){
			return returnErrorMessagex_;
		}
		
		
	}
